package com.diabetes.mapper;

import com.diabetes.entity.DeviceData;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DeviceDataMapper {
    @Insert("insert into device_data (notify_data, service_id, event_time, device_id, blood_sugar) VALUES (#{notifyData},#{serviceId},#{eventTime},#{deviceId},#{bloodSugar})")
    void insert(DeviceData deviceData);
}
